package cn.ssq.domain;

/**
 * 用于向页面传递信息的类
 * @author jt
 *
 */
public class Result {
	
	private boolean success;
	private boolean flag;

	public Result() {
	}

	public boolean isSuccess() {
		return success;
	}

	public void setSuccess(boolean success) {
		this.success = success;
	}

	public boolean isFlag() {
		return flag;
	}

	public void setFlag(boolean flag) {
		this.flag = flag;
	}

	@Override
	public String toString() {
		return "Result{" +
				"success=" + success +
				", flag=" + flag +
				'}';
	}
}
